package com.zhuss.core.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.vo.core.file.DetailFileVo;
import com.zhuss.core.db.dao.gen.FileMapper;
import com.zhuss.core.db.entity.File;

@Mapper
public interface FileDao extends FileMapper {
	
	void create(File record);
	
	void delete(File record);
	
	void deleteByKey(File record);
	
	List<File> listAll();

	DetailFileVo detail(@Param("fileId") Long fileId);
	
	DetailFileVo getByKey(@Param("fileKey") String key);
   
    
}